package com.shrct.businessprocess.purchase.proxy;

import com.shrct.businessprocess.purchase.proxy.RCBasePurchaseOrderProxy;
import com.shrct.businessprocess.purchase.proxy.RCServicePurchaseOrderAction;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.purchase.RCServicePurchaseOrder")
public class RCServicePurchaseOrderProxy extends RCBasePurchaseOrderProxy {
  public RCServicePurchaseOrderProxy() {
    this.setClazzName("com.shrct.businessprocess.purchase.RCServicePurchaseOrder");
  }
  
  private String status;
  
  public void setStatus(final String status) {
    this.status = status;
  }
  
  public String getStatus() {
    return this.status;
  }
  
  public Boolean isActionValid(final RCServicePurchaseOrderAction action) {
    return RCServicePurchaseOrderManager.isActionValid(action,status);
  }
}
